<template>
  <view>
    <get-user-info v-model="authMask" @onOk="onOk" @onClose="onClose">
      <view @click="authMask = true">
        注册
      </view>
    </get-user-info>
  </view>
</template>

<script>
  import GetUserInfo from '@r/components/GetUserInfo.vue';

  export default {
    components: {
      GetUserInfo
    },
    data() {
      return {
        authMask: false,
      }
    },
    methods: {
      onOk(userInfo){
        console.log('userInfo', userInfo);
      },
      onClose(){
        console.log('用户关闭了');
      }
    }
  }
</script>

<style>

</style>
